﻿using System;
using System.Collections.Generic;
using System.Web;
using ORS.DAL;

namespace ORS.BLL
{
    public class SetApprovalSate
    {
        string sqlstr_modiappst;
        static mssqlopr ivk_mssqlopr;

        static SetApprovalSate()
        {
            ivk_mssqlopr = new mssqlopr();
        
        }
        
        public void PaperApprove(string paper_id, string s_approve_state)
        {
            sqlstr_modiappst = "UPDATE tb_paperinfo SET approvestate='" + s_approve_state + "'WHERE paperid=" + paper_id;
            ivk_mssqlopr.Modify_Data(sqlstr_modiappst);
        }
    }
}